package ceshiren;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class MainPage extends BasePage{
    private final By addressbutton=By.id("menu_contacts");

    public MainPage(String url) {
        super(url);
    }

    public AddressbookPage gotoAddressbookPage(){
        find(addressbutton).click();
        return new AddressbookPage(driver);
    }
}
